/*
 *      Created on: Feb 24, 2011
 *      Author: topcoder
 */

#ifndef VOLUMEUNIT_H_
#define VOLUMEUNIT_H_

#include <Unit.h>
#include <string>
using namespace std;

class VolumeUnit : public Unit
{
    public:
        static VolumeUnit& getOz();
        static VolumeUnit& getTsp();
        static VolumeUnit& getTbsp();
        
        static string print(unsigned long quantity, const VolumeUnit& volumeUnit);
    private:
        VolumeUnit(unsigned int ratio, string name);
        VolumeUnit();
        VolumeUnit& operator = (const VolumeUnit&);                
};

#define OZ   (VolumeUnit::getOz())
#define TSP  (VolumeUnit::getTsp())
#define TBSP (VolumeUnit::getTbsp())

#endif
